interface TableList {
    prop?: string;
    label?: string;
    // 固定 接收 left right
    fixed?: string;
    width?: number;
    sortable?:boolean
    switch?:boolean
    img?:boolean
}

export interface IFromData {
    nickName?:string,
    username:string,
    password:string,
    avatar?:string
}

export const tableList: TableList[] = [
    {
        prop: 'id',
        label: '序号',
        width: 100,
    },
    {
        prop: 'name',
        label: '分类名称',
    },
    {
        prop: 'svg',
        label: '图标',
        img:true
    },
    {
        prop: 'act_svg',
        label: '选中图标',
        img:true
    },
    {
        prop: 'sort',
        label: '排序',
    },
    {
        prop: 'status',
        label: '状态',
        switch:true
    },
    {
        prop: 'createTime',
        fixed: 'right',
        label: '创建时间',
        sortable:true
    },
    {
        prop: 'updateTime',
        label: '更新时间',
        sortable:true
    },
];
